package com.campus.vo;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;
import java.util.List;
import java.util.Map;

/**
 * @author TaiZai
 * @data 2024/11/15 17:13
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class ChatRecordsVO {

    private String date;
    private List<item> records;
    @Data
    @AllArgsConstructor
    @NoArgsConstructor
    @Builder
    public static class item {
        private Long id;
        private Long userId; // 用户id
        private String content; // 聊天内容
        private String title; // 标题
        private LocalDateTime createTime; // 创建时间
    }

}
